.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section {
    margin: 60/$f+vw 400/$f+vw 200/$f+vw 400/$f+vw;

    .s_top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 60/$f+vw;

      .t {
        color: #000;
        font-size: 32/$f+vw;
      }

      .s_search {
        border-bottom: 3px solid #333;
        display: flex;
        padding: 15/$f+vw;
        align-items: center;

        p {
          color: rgba(51, 51, 51, 1);
          font-size: 15/$f+vw;
          margin: 0 50/$f+vw 0 30/$f+vw ;
        }

        input {
          color: rgba(51, 51, 51, 1);
          font-size: 15/$f+vw;
          width: 220/$f+vw;
          outline: none;
          border: none;
        }

        .btn {
          cursor: pointer;

          svg {
            display: block;
            width: 20/$f+vw;
          }
        }
      }
    }

    .map {
      position: relative;
      padding-bottom: 200/$f+vw;

      .pics {
        img {
          width: 100%;
          display: none;
          object-fit: contain;
        }

        .on {
          display: block;
        }
      }

      .phone {
        position: absolute;
        right: 0;
        bottom: 0;
        color: rgba(22, 29, 45, 1);
        font-size: 24/$f+vw;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
        padding-bottom: 20/$f+vw;
      }

      .point {
        position: absolute;
        cursor: pointer;

        .tt {
          p {
            color: rgba(22, 29, 45, 1);
            font-size: 18/$f+vw;
            line-height: 1.4;
          }

          span {
            width: 10/$f+vw;
            height: 10/$f+vw;
            background: #FB0000;
            display: block;
            border-radius: 50%;
            margin: 10/$f+vw auto;
          }
        }

        .info {
          position: absolute;
          border: 1px solid #FFF;
          background: rgba(255, 255, 255, 0.65);
          box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.08);
          backdrop-filter: blur(2px);
          display: flex;
          width: 347/$f+vw;
          padding: 24/$f+vw;
          flex-direction: column;
          align-items: flex-start;
          top: 0;
          left: 80/$f+vw;
          gap: 20/$f+vw;
          opacity: 0;
          visibility: hidden;
          transition: all 600ms;
          z-index: 10;

          .p1 {
            color: #333;
            font-size: 18/$f+vw;
          }

          .des {
            color: #333;
            font-size: 16/$f+vw;

            p {
              margin-bottom: 10/$f+vw;
            }
          }

          a {
            border: 1px solid #FB0000;
            padding: 9/$f+vw 30/$f+vw;
            color: #FB0000;
            font-size: 18/$f+vw;
          }
        }
      }

      .on {
        .info {
          visibility: visible;
          opacity: 1;
        }
      }

      .point1 {
        top: 160/$f+vw;
        left: 150/$f+vw;
      }

      .point2 {
        top: 150/$f+vw;
        left: 350/$f+vw;
      }

      .point3 {
        top: 300/$f+vw;
        left: 100/$f+vw;
      }

      .point4 {
        top: 410/$f+vw;
        left: 400/$f+vw;
      }

      .point5 {
        right: 260/$f+vw;
        top: 100/$f+vw;
      }

      .point6 {
        right: 120/$f+vw;
        top: 350/$f+vw;
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
    }

    .nav_menu {
      padding: 0;

      a {
        padding: 15px 10px;
        font-size: 14px;
      }

      span {
        height: 10px;
      }
    }

    .section {
      margin: 30px 5% 60px 5%;

      .s_top {
        flex-direction: column;

        .t {
          font-size: 24px;
          margin-bottom: 20px;
        }

        .s_search {
          padding: 15px;
          width: 100%;

          p {
            font-size: 16px;
            margin: 0 20px 0 15px;
          }

          input {
            font-size: 16px;
            width: 70%;
          }

          .btn {
            svg {
              width: 20px;
            }
          }
        }
      }

      .map {
        margin-top: 30px;
        padding-bottom: 60px;
        .pics{
          display: none;
        }
        .point{
          position: static;
          img{
            width: 12px;
            display: none;
          }
          .tt{
            display: none;
          }
          .info{
            position: static;
            width: 100%;
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
            margin-top: 20px;
            padding: 15px;
            .p1{
              font-size: 18px;
            }
            .des{
              margin: 10px 0;
              font-size: 16px;
              p{
                margin-bottom: 10px;
              }
            }
            a{
              font-size: 14px;
              padding: 8px 25px;
            }
          }
        }

        .phone {
          font-size: 18px;
        }
      }
    }
  }
}